package com.oracle.mapper;

import com.oracle.pojo.Loopimg;
import com.oracle.pojo.LoopimgExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface LoopimgMapper {
    int countByExample(LoopimgExample example);

    int deleteByExample(LoopimgExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Loopimg record);

    int insertSelective(Loopimg record);

    List<Loopimg> selectByExample(LoopimgExample example);

    Loopimg selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Loopimg record, @Param("example") LoopimgExample example);

    int updateByExample(@Param("record") Loopimg record, @Param("example") LoopimgExample example);

    int updateByPrimaryKeySelective(Loopimg record);

    int updateByPrimaryKey(Loopimg record);

    @Select("select count(id) as count from loopimg where `loop`=1")
    int selectCountLoop();
}